package vcp.enums;

import vcp.enums.utility.EnumReverser;
import vcp.enums.utility.EnumReverser.IEnumReverser;

/**
 * 
 * @author VCP team
 *         <p>
 *         department names enum class
 *         </p>
 */
public enum Departments implements IEnumReverser
{
	CUSTOMER_SERVICE ( "Customer Service" ),
	MANAGEMENT ( "Management" ),
	SIMPLE_WORKERS ( "Worker" );

	private String departments;

	/** constructor **/
	private Departments ( String type )
	{
		this.departments = type;
	}

	@Override
	public String toString ()
	{
		return this.departments;
	}

	/** enum converter **/
	public static Departments convert ( String key )
	{
		return EnumReverser.convert(Departments.class, key);
	}
}
